package xyz.longicorn.driver.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 文件的分类
 */
public enum Category {
    Image(1, "图片"), Document(2, "文档"),
    Video(3, "视频"), Audio(4, "音频"),
    Other(5, "其他");

    @EnumValue
    private final int value;
    private final String name;

    Category(int value, String name) {
        this.value = value;
        this.name = name;
    }
}
